package com.xbongbong.pro.customerstatement.pojo;

import com.xbongbong.paas.domain.entity.ext.ConditionsEntityExt;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 对账单时间、客户id参数pojo
 * @author zcp
 * @version v1.0
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class StatementCustomerPojo implements Serializable {
    private static final long serialVersionUID = 1736049220518024415L;

    /**
     * 开始时间
     */
    private Long startTime;
    /**
     * 结束时间
     */
    private Long endTime;
    /**
     * 客户id
     */
    private Long customerId;
    /**
     * 客户id集合
     */
    private List<Long> customerIdList;
    /**
     * 搜索条件，如客户id
     */
    private List<ConditionsEntityExt> conditions = new ArrayList<>();

    public StatementCustomerPojo(Long startTime, Long endTime, Long customerId, List<Long> customerIdList) {
        this.startTime = startTime;
        this.endTime = endTime;
        this.customerId = customerId;
        this.customerIdList = customerIdList;
    }
}
